Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcDateFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 3 items: year, month, day.

year The year argument can be one to four digits. Spread uses the 1900 date system.

month is a positive or negative integer representing the month of the year from 1 to 12 (January to December).

day is a positive or negative integer representing the day of the month from 1 to 31.

Returns the System.DateTime that represents a particular date.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcDateFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 3 items: year, month, day.

year The year argument can be one to four digits. Spread uses the 1900 date system.

month is a positive or negative integer representing the month of the year from 1 to 12 (January to December).

day is a positive or negative integer representing the day of the month from 1 to 31.

Return Value

A System.DateTime value that indicates the evaluate result.
See Also

Reference

CalcDateFunction Class
CalcDateFunction Members
Overload List